package com.ruoyi.iot.enums;

public enum SensorTypeEnum {
    WATER_HEIGHT("water_height_data", "水位", "iot_data_water_height"),
    WATER_MEASURE("water_measure_data", "量水堰", "iot_data_measure"),
    WATER_PRESSURE("water_pressure_data", "渗压", "iot_data_pressure"),
    WATER_QUALITY("water_quality_data", "水质", "iot_data_water_quality"),
    FLOW("flow_data", "流量", "iot_data_flow"),
    RAIN("rain_data", "雨量", "iot_data_rain"),
    WIND("wind_data", "风速、风向", "iot_data_wind"),
    TERMITE("termite_data", "白蚁", "iot_data_termite"),
    GNSS("gnss_data", "gnss", "iot_data_gnss"),
    WEATHER("weather_data", "气象", "iot_data_weather"),

    CAMEARA_SD("camera_sd", "市电摄像头", "camera_sd"),
    CAMEARA_TYN("camera_tyn", "太阳能摄像头", "camera_tyn");

    private final String sensorType;

    private final String name;

    private final String tableName;



    SensorTypeEnum(String sensorType, String name, String tableName)
    {
        this.sensorType = sensorType;
        this.name = name;
        this.tableName = tableName;
    }

    public String getTableName()
    {
        return tableName;
    }

    public String getSensorType()
    {
        return sensorType;
    }

    public String getName() {
        return name;
    }

}
